package com.upay.android.domain.response;

import java.io.Serializable;

public class ErrorDetail implements Serializable {
	
	/* ---- Constants ---- */
	private static final long serialVersionUID = 201202272149L;
	
	/* ---- Instance Variables ----*/
	
	private String code = null;
	private String message = null;
	private ErrorType type = null;

	
	/* ---- Constructors ---- */
	
	public ErrorDetail() {
		super();
	}
	
	public ErrorDetail(String code, String message, ErrorType type) {
		this.code = code;
		this.message = message;
		this.type = type;
	}

	/* ---- Getters and Setters ----*/

	/**
	 * @return the code
	 */
	public String getCode() {
		return code;
	}

	/**
	 * @param code the code to set
	 */
	public void setCode(String code) {
		this.code = code;
	}

	/**
	 * @return the message
	 */
	public String getMessage() {
		return message;
	}

	/**
	 * @param message the message to set
	 */
	public void setMessage(String message) {
		this.message = message;
	}

	/**
	 * @return the type
	 */
	public ErrorType getType() {
		return type;
	}

	/**
	 * @param type the type to set
	 */
	public void setType(ErrorType type) {
		this.type = type;
	}
	

}
